/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Diversos;

/**
 *
 * @author linton
 */
public class funcoes {

    public funcoes() {
    }

public static final int byteArrayToInt(byte [] b) {
        return (b[0] << 24)
                + ((b[1] & 0xFF) << 16)
                + ((b[2] & 0xFF) << 8)
                + (b[3] & 0xFF);
}

}
